.class Lcom/instagram/android/b/i;
.super Landroid/os/Handler;
.source "InstagramAnalyticsLogger.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/b/h;


# direct methods
.method constructor <init>(Lcom/instagram/android/b/h;)V
    .locals 0
    .parameter

    .prologue
    .line 102
    iput-object p1, p0, Lcom/instagram/android/b/i;->a:Lcom/instagram/android/b/h;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4
    .parameter "msg"

    .prologue
    const/4 v2, 0x1

    .line 106
    iget v0, p1, Landroid/os/Message;->what:I

    if-ne v0, v2, :cond_1

    .line 107
    iget-object v0, p0, Lcom/instagram/android/b/i;->a:Lcom/instagram/android/b/h;

    invoke-static {v0}, Lcom/instagram/android/b/h;->a(Lcom/instagram/android/b/h;)V

    .line 117
    :cond_0
    :goto_0
    return-void

    .line 108
    :cond_1
    iget v0, p1, Landroid/os/Message;->what:I

    const/4 v1, 0x2

    if-ne v0, v1, :cond_0

    .line 109
    const-string v0, "InstagramAnalyticsLogger"

    const-string v1, "Detected app backgrounded."

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->a(Ljava/lang/String;Ljava/lang/String;)V

    .line 110
    iget-object v0, p0, Lcom/instagram/android/b/i;->a:Lcom/instagram/android/b/h;

    invoke-static {v0, v2}, Lcom/instagram/android/b/h;->a(Lcom/instagram/android/b/h;Z)Z

    .line 114
    iget-object v0, p0, Lcom/instagram/android/b/i;->a:Lcom/instagram/android/b/h;

    sget-object v1, Lcom/instagram/android/b/a/c;->c:Lcom/instagram/android/b/a/c;

    invoke-static {v0, v1}, Lcom/instagram/android/b/h;->a(Lcom/instagram/android/b/h;Lcom/instagram/android/b/a/c;)V

    .line 115
    iget-object v0, p0, Lcom/instagram/android/b/i;->a:Lcom/instagram/android/b/h;

    new-instance v1, Lcom/instagram/android/b/m;

    iget-object v2, p0, Lcom/instagram/android/b/i;->a:Lcom/instagram/android/b/h;

    const/4 v3, 0x0

    invoke-direct {v1, v2, v3}, Lcom/instagram/android/b/m;-><init>(Lcom/instagram/android/b/h;Lcom/instagram/android/b/i;)V

    invoke-static {v0, v1}, Lcom/instagram/android/b/h;->a(Lcom/instagram/android/b/h;Lcom/instagram/android/b/k;)V

    goto :goto_0
.end method
